package org.dromara.legal.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.legal.domain.Lawyer;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 律师视图对象 le_lawyer
 *
 * @author zhuqingrun
 * @date 2024-10-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Lawyer.class)
public class LawyerVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 律师id
     */
    @ExcelProperty(value = "律师id")
    private Long id;

    /**
     * 律师名
     */
    @ExcelProperty(value = "律师名")
    private String name;

    /**
     * 所属事务所
     */
    @ExcelProperty(value = "所属事务所")
    private String office;

    /**
     * 入职日期
     */
    @ExcelProperty(value = "入职日期")
    private Date hiredate;

    /**
     * 律师电话
     */
    @ExcelProperty(value = "律师电话")
    private String phone;

    /**
     * 律师头像
     */
    @ExcelProperty(value = "律师头像")
    private String avatar;

    /**
     * 擅长领域
     */
    @ExcelProperty(value = "擅长领域")
    private String skill;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 律师头像地址
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL)
    private String avatarUrl;


}
